package com.paas.form.feign.client;

import com.paas.form.entity.FormViewPubEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(value = "form-server", contextId = "mdmFormViewPubFeignClient", url = "${paas.rest.tool.url}/form/formViewPub")
public interface MdmFormViewPubFeignClient {

    @RequestMapping(value = "/queryBatchByIds",method = RequestMethod.POST)
    List<FormViewPubEntity> queryBatchByIds(@RequestBody List<String> ids);
}
